Version 3.0 Pro User's Guide |
|
Mail Actions |
Previous |
Next Contents |
NetCloak Pro can check any e-mail account located on any POP3-compatible mail server on the Internet. It can check for mail as frequently or infrequently as you like.
Using Mail Actions, you can have NetCloak Pro automatically check an e-mail address and create a new Web page, insert information into existing pages, store data, or even send another e-mail message, using the information contained in each new message. For instance, you can easily create Mail Actions to create online archives of your favorite mailing lists, automate routing of e-mail messages to the appropriate persons, or provide Web access to e-mail for members of your organization.
To create, edit, or remove Mail Actions, you use the "Mail Actions..." command in the NetCloak Pro CGI or access the "Mail Actions" link from the NetCloak Pro Web admin home page.
Because Mail Actions require NetCloak Pro to open TCP/IP connections to remote mail servers, a single control is provided to enable or disable all Mail Actions at once. To enable checking of all configured Mail Actions, check the "Enable Mail Actions" checkbox. In the CGI, checking is enabled as soon as you check the box. In the Web admin page, you must click the "Save Changes" button after checking the box. To disable Mail Actions, uncheck the box (and, in the Web admin page, click "Save Changes").
To edit an existing Mail Action, select it (in the CGI) or click the "Select" radio button for that action (in the Web admin page), then click the "Edit..." button. To create a new Mail Action, click the "New..." button. In either case, you are presented with the "Edit Mail Action" window (in the CGI) or Web admin page.
A Mail Action consists of three sets of information: which e-mail account to check, how often to check it, and what actions to take when messages are received.
Email Address - This field contains the fully-qualified address specification of the e-mail account from which messages will be retrieved. For instance, "chris@maxum.com". This e-mail address must be recognized as a valid address by the configured mail server.
Email Password - Enter the corresponding password for the configured e-mail account into this field. In the CGI, the password characters will appear as clear text until you tab out of the field, when they are converted to bullets. How the password field in the Web admin page is displayed depends on the particular browser you use.
Use APOP Authentication - With this box unchecked, the configured e-mail address and password are transmitted to the mail server as clear text, so that anyone "snooping" on the network will be able to read them. If the mail server supports it, using APOP authentication will encrypt the username and password during transmission, so that they cannot be easily discovered. Ask the mail server administrator if the configured mail server support APOP (or, just try it and see if it works).
You cannot select the time of day NetCloak will check mail. NetCloak Pro checks once per minute for any Mail Actions that need to run. So, if you create a Mail Action at 3:30 pm, and it is set to check mail every 24 hours, it will check that action's e-mail address at roughly 3:31 pm each day.
Once you have entered all the information needed by the Mail Action, click "OK" (in the CGI) or "Save Changes" (in the Web admin page) to save the Mail Action. In the CGI, NetCloak Pro will display an error message if any fields are incorrectly filled out. No such error checking is performed in the Web admin interface, so be especially careful when editing Mail Actions this way.
Where do the form field variables normally used in FDML insertion commands come from? NetCloak Pro automatically converts the header fields from each mail message into form variables that can be accessed using standard REPLACE commands. In addition, the body of each message is placed into a form field named "Body", which you can insert like this:
<REPLACE Body>
All mail messages will contain a few standard variables that you can depend on being present when using them in REPLACE commands. These are listed below.
From | The e-mail address of the sender of the message. |
To | The e-mail addresses of the message's primary recipients; commas separate each address. The Mail Action's configured e-mail address will be in this list. |
Subject | The "title" of the mail message. |
Date | The date the message was originally transmitted, in the standard format required by the SMTP/POP3 protocols. |
Body | The body of the message (not including headers), generated by NetCloak Pro. |
MailActionServer | The mail action's mail server setting. |
MailActionAccount | The mail action's email address setting. |
MailActionPassword | The mail action's email password setting. |
MailActionFDMLPath | The path to the mail action FDML file. |
MailActionRootFolder | The root folder path used by the mail action. |
In addition, most modern e-mail clients and servers will include the following optional variables in the message:
CC | The e-mail addresses of the message's secondary, "carbon-copy" recipients, separated by commas. This will only be present if secondary addresses exist. |
Content-Type | Defines the format of the data contained in the e-mail message. Plain text messages have a content type of "text/plain", while HTML formatted messages have a content-type of "text/html". |
Message-ID | A unique identifier for the mail message used by the mail server. This unique ID is usually in the form of an email address, like <0123abc1f332@maxum.com>, so it is guaranteed to uniquely distinguish this message from all other messages on all other mail servers. |
For a complete list of all the possible mail message header fields, see the RFC documents describing the format of mail messages (RFC 822) and MIME headers (RFCs 1521 and 1522), available many places on the Internet.
If the content type of the message is not specified (no "Content-Type" field is present), NetCloak Pro assumes the message's content type is text.
If the content type of the message is "multipart/mixed" or "multipart/alternative", this means that the message contains either attachments or alternative ways of displaying the same message (most often, a plain text and an HTML version of the message). In this case, NetCloak will extract the "text/html" or "text/plain" part of the message, and then discard the rest. If both a "text/html" part and a "text/plain" part exist, NetCloak will use the HTML version of the message as the "Body" variable. Note that this means that NetCloak always discards attachments.
If a transfer encoding is not specified, 8-bit encoding is assumed. In other words, NetCloak does not modify the data in any way. If the tranfer encoding is either "quoted-printable" or "base64", NetCloak properly decodes the message body.
Copyright © 1996-1999 Maxum Development Corporation http://www.maxum.com/ |
Previous |
Next Contents |